package com.hyf.order.cilent;

import com.hyf.commonutils.vo.CourseWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient("HYFservice-edu")
public interface EduClient {
	//根据课程id查询课程信息
	@PostMapping("/serviceedu/course/getCourseInfoOrder/{id}")
	public CourseWebVoOrder getCourseInfoOrder(@PathVariable("id") String id);
}
